<template>
	<view class="all">
		<view class="name">
			<view class="">  试卷名称:  </view>
			<input  class="shuru" type="text" placeholder="请输入"  placeholder-class="plText"/>
		</view>
		<!-- 科目和总分 -->
		<view class="kf">
			<view class="kemu">科目:</view>
			<!-- 下拉选择 -->
			<superwei-combox :candidates="kemu" placeholder="请选择" v-model="inputValue" @input="input" @select="select" class="choose"></superwei-combox>
			<view class="kemu">总分:</view>
			<!-- 下拉选择 -->
			<superwei-combox :candidates="zongfen" placeholder="请选择" v-model="inputValue" @input="input" @select="select" class="choose"></superwei-combox>
		</view>
		<!-- 题目选项 -->
		<view class="peizhi">
			<view class="shiti">
				<view class="tishu"> 选择题数:</view>
				<input class="sr" type="text" placeholder="请输入"  placeholder-class="plText"/>
				<view class="tishu">每题分值:</view>
				<!-- 下拉选择 -->
				<superwei-combox :candidates="fenshu" placeholder="请选择" v-model="inputValue" @input="input" @select="select" class="choose"></superwei-combox>
			</view>
			<view class="shiti">
				<view class="tishu"> 填空题数:</view>
				<input class="sr" type="text" placeholder="请输入"  placeholder-class="plText"/>
				<view class="tishu">每题分值:</view>
				<!-- 下拉选择 -->
				<superwei-combox :candidates="fenshu" placeholder="请选择" v-model="inputValue" @input="input" @select="select" class="choose"></superwei-combox>
			</view>
			<view class="shiti">
				<view class="tishu"> 判断题数:</view>
				<input class="sr" type="text" placeholder="请输入"  placeholder-class="plText"/>
				<view class="tishu">每题分值:</view>
				<!-- 下拉选择 -->
				<superwei-combox :candidates="fenshu" placeholder="请选择" v-model="inputValue" @input="input" @select="select" class="choose"></superwei-combox>
			</view>
			<view class="shiti">
				<view class="tishu"> 主观题数:</view>
				<input class="sr" type="text" placeholder="请输入"  placeholder-class="plText"/>
				<view class="tishu">每题分值:</view>
				<!-- 下拉选择 -->
				<superwei-combox :candidates="fenshu" placeholder="请选择" v-model="inputValue" @input="input" @select="select" class="choose"></superwei-combox>
			</view>
		</view>
		
		<view class="">
			<navigator url="/pages/tea-duan/exam/noBegin">
				<button type="default" class="queding">确定</button>
			</navigator>
		</view>
	</view>
</template>

<script>
    export default {
        data() {
            return {
				kemu: ['高等数学','线性代数','离散数学','大学物理',],
				zongfen: ['100','120','150',],
				fenshu:['1','2','3','4','5','8','9','10','12','15',]
            }
        },
        methods: {
            input(e){
                console.log(e) // 选项一
            },
            select(e){
                console.log(e) // 选项一
            }
        }
    }
</script>

<style>
	.all{
		width: 100%;
		height: 100vh;
		background-color: #f8f8f8;
	}
	.name{
		height: 80rpx;
		width: 100%;
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}
	.shuru{
		border: solid 2.5rpx #7e7e7e;
		width: 75%;
		border-radius: 10rpx;
		margin-right: 25rpx;
	}
	.kf{
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		margin-top: 40rpx;
		margin-bottom: 40rpx;
	}
	.kemu{
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
		width: 20%;
		height: 50rpx;
	}
	.choose{
		height: 25rpx;
		border-radius: 10rpx;
		margin-right: 15rpx;
	}
	.shiti{
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		margin-top: 30rpx;
	}
	.tishu{
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
		width: 40%;
		height: 50rpx;
	}
	.sr{
		border: solid 2.5rpx #7e7e7e;
		border-radius: 10rpx;
	}
	.peizhi{
		margin-top: 40rpx;
	}
	button{
		margin-top: 100rpx;
		width: 80%;
		border-radius: 25rpx;
		background-color: #12754F;
	}
	.queding{
		font-size: larger;
		font-weight: 700;
		color: #FFFFFF;
	}
</style>
